<extend name="Base/index"/>
<block name="body">
    <div class="container">
        <div class="com-dzl">
            <img src="__IMG__/com-dzl.png">
            <p>当前位置： <a href="index.html">首页</a> > <a href="#">{$category.title}</a></p>
        </div>
        <div class="zt-one">
            <div class="com-left-nav">
                <div class="item">
                    <div class="head head-act">
                        <div class="cont">
                            <p>案例资讯</p>
                            <div class="en">Case. Information</div>
                        </div>
                    </div>
                    <div class="bod bod-act">
                        <think:nav name="nav" tree="true">
                            <eq name="nav.id" value="113">
                                <volist name="nav._" id="val">
                                    <a href="{$val.url|get_nav_url}">
                                        <div class="cont">
                                            <div class="txt">
                                                {$val.title}
                                            </div>
                                            <img class="r-img" src="__IMG__/r-img.png" alt="">
                                        </div>
                                    </a>
                                </volist>
                            </eq>
                        </think:nav>
                    </div>
                </div>
                <div class="com-left-nav-down">
                    <div class="head">
                        <div class="cont">
                            <p>联系我们</p>
                            <div class="en">contact us</div>
                        </div>
                    </div>
                    <div class="bod">
                       {:C('CONTACT')}
                    </div>
                    <div class="bod">
                        <div class="cont">
                            <img src="__IMG__/mid-tel.png">
                        </div>
                    </div>
                </div>
            </div>
            <div class="com-right-box">
                <div class="right-xq-edit">
                    <div class="detail-title">
                        <h2>{$info.title}</h2>
                        <p>发布时间:{$info.create_time|date='Y-m-d',###}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;浏览量:{$info.view}</p>
                    </div>
                    <div class="cont">
                        {$info.content}
                    </div>
                </div>
                <div class="com-page1">
                    <div class="cont">
                        <article:prev name="prev" info="info">
                            <a href="{:U('detail',array('id'=>$prev['id'],'category'=>$category['name']))}">上一篇：{$prev.title}</a>
                        </article:prev>
                        <article:next name="next" info="info">
                            <a href="{:U('detail',array('id'=>$next['id'],'category'=>$category['name']))}">下一篇：{$next.title}</a>
                        </article:next>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>
<block name="footer_js">
    <script src="__STATIC__/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
        // var jsname = 'util';

        require(['util'],function(de){
            de.index_banner();
            de.com_left_nav();
            de.com_footer();
        })
        $('.down .container a').eq(6).addClass('a-act');
        var url = '{$category.name}';
        var jo  = 'news';
        var sh  = 'hang';
        if(url == jo){
            $('.com-left-nav .item .bod  a').eq(1).addClass('a-act');
        }else if(url == sh){
            $('.com-left-nav .item .bod  a').eq(2).addClass('a-act');
        }else{
            $('.com-left-nav .item .bod  a').eq(0).addClass('a-act');
        }
    </script>
    <script type="text/javascript">
        function formReset()
        {
            document.getElementById("myForm").reset()
        }
    </script>
</block>